public class HelloWorld {
	public static void main(String args[]) throws Exception {
		while( true ) {
			HelloWorld hw = new HelloWorld();
			hw.sayHello();
			Thread.sleep(3000);
		}
	}
	public static void sayHello() throws Exception {
		System.out.println("Hello world!");
	}
}
